//买家-获取登录数据url
let GetTokenDataURL = '/api/token';

let GetLoginDataURL = '/api/login';

let GetRoleDataURL = '/api/role';

let GetMenuDataURL = '/api/menu';

let GetMyProjectDataURL = '/loanItemApplyTest/getPage';

let GetLoanItemFindURL = '/loanItemApplyTest';

let GetLogListURL = '/api/logList';

let GetPaymentPlanURL = '/api/paymentPlan';

let GetReturnVisitURL = '/api/returnVisit';

//审批历史
let GetApprovalHistoryURL = '/workFlowQuery/getHistoricDetails';

//添加项目
let GetSaveProjectURL = '/loanItemApplyTest/save';

//删除项目
let GetDelProjectURL = '/loanItemApplyTest/delete';

//修改项目
let GetEditProjectURL = '/loanItemApplyTest/update';

//模版管理列表
let GetModelListURL = '/activiti/modelList';

//流程定义管理列表
let GetProcessListURL = '/activiti/processList';

//流程任务管理列表
let GetTaskListURL = '/workFlowQuery/findTaskByTerm';

//发布流程
let GetWorkFlowStartURL = '/workFlowTask/start';

//部署流程
let GetDeployURL = '/activiti/deploy';

//获取任务相关信息
let GetGetTaskURL = '/workFlowQuery/getTask';

//撤销流程
let GetTurnDownCancelURL = '/workFlowTask/cancelProcess';

//提交任务
let GetWorkFlowCompleteURL = '/workFlowTask/complete';

//驳回到发起人
let GetTurnDownSponsorURL = '/workFlowTask/turnBackToStart';

//驳回到上一步
let GetTurnDownPreviousURL = '/workFlowTask/turnBack';

//流程实例管理
let GetInstanceListURL = '/workFlowQuery/findProcessInstanceByTerm';

//选择流转
let GetCirculationURL = '/workFlowQuery/getFlows';

//自由流转
let GetFreeCirculationURL = '/workFlowQuery/getAllFlows';

if (NODE_ENV && NODE_ENV == "production") {
    GetTokenDataURL = "/mock/token.json";
    GetLoginDataURL = "/mock/login.json";
    GetRoleDataURL = "/mock/role.json";
    GetMenuDataURL = "/mock/menu.json";
    // GetMyProjectDataURL = "";
    // GetLoanItemFindURL = "";
    // GetLogListURL = "";
    // GetPaymentPlanURL = "";
    // GetReturnVisitURL = "";

    // GetSaveProjectURL = "";
    // GetDelProjectURL = "";
    // GetEditProjectURL = "";
}

export {
    GetTokenDataURL,
    GetLoginDataURL,
    GetRoleDataURL,
    GetMenuDataURL,
    GetMyProjectDataURL,
    GetLoanItemFindURL,
    GetLogListURL,
    GetPaymentPlanURL,
    GetReturnVisitURL,
    GetApprovalHistoryURL,
    GetSaveProjectURL,
    GetDelProjectURL,
    GetEditProjectURL,
    GetModelListURL,
    GetProcessListURL,
    GetTaskListURL,
    GetWorkFlowStartURL,
    GetDeployURL,
    GetGetTaskURL,
    GetTurnDownCancelURL,
    GetWorkFlowCompleteURL,
    GetTurnDownSponsorURL,
    GetTurnDownPreviousURL,
    GetInstanceListURL,
    GetCirculationURL,
    GetFreeCirculationURL,
}